

<form method="post" action="index.php?ctrl=AppDefault">

<fieldset><legend>Dati Input Test</legend>

{if $logged}
ciao {$nomeutente}
{else}

<table>
<tr><td>Username</td><td> <input type="text" name="username" value="{$username}"/> </td></tr>
<tr><td>Password</td><td><input type="text" name="password" value="{$password}"/></td></tr>

</table>
<button name=act value="login">Login</button>
<button name=act value="registrati">Register</button>

{/if}
<button name=act value="interrogazione">foreward</button>
</fieldset>


</form>


